package cn.itcast.hotel.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;


/**
 * @author by xiaoHu
 * @Date 2023/2/2 17:25
 * @Description
 */
@Data
@ConfigurationProperties(prefix = "es")
public class EsProperties {
    private String host ="localhost";
    private Integer port =9200;
}
